package com.zzyl.dto;

import com.zzyl.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel(description = "护理等级查询DTO")
public class NursingLevelDto extends BaseDto {
    @NotBlank(message = "护理等级名称不能为空")
    @ApiModelProperty("护理等级名称")
    private String name;

    @NotNull(message = "护理计划ID不能为空")
    @ApiModelProperty("护理计划ID（关联 nursing_plan.id）")
    private Long planId;

    @NotNull(message = "费用不能为空")
    @ApiModelProperty("费用")
    private BigDecimal fee;

    @NotNull(message = "状态不能为空")
    @ApiModelProperty("状态（0:禁用, 1:启用）")
    private Integer status;

    @ApiModelProperty("描述")
    private String description;

}
